<?php
if( $_SESSION['sesUserType'] != 'staff')
{
	if($strStyleSheet == TRUE)
	{?>
		<div id="VendereScreen"><table class='Normal' align='left' border='0' width='100%'><?
	}?>
			<tr>
				<td><?php
				if($strStyleSheet == TRUE)
				{?>
					<table class='Normal' align='left'  border='0' width='100%'><?
				}	
				if (isset($_SESSION['sesUserName']))
				{
					include(MODULE . "/screen/scrDeliveryDetails");
					if($strStyleSheet == TRUE)
					{?>
						</table><?
					}					
				}else{	
					$strScreenName = "scrCheckout";?>
				 	<tr>
						<td>
							<h3>If you have previously registered please Login....</h3>
							Otherwise please scroll down the page and enter your details
						</td>
					</tr>  
					<tr>
						<td>  
							<hr />
						</td>
					</tr><?php 
					if($strStyleSheet == TRUE)
					{?>
						</table><?
					}?>
						</td>
					</tr>
					<tr>
						<td>
							<?
							include(MODULE . "/screen/scrLogin.php"); 
							?> 
									
				
						</td>
					</tr>
					<tr>
						<td><?
							include(MODULE . "/screen/EnterCustomer.php"); 
				}?>
			</td>
		</tr><?php 
	if($strStyleSheet == TRUE)
	{?>
	</table></div><?
	}	
}else{
	echo "Staff logins aren't able to place an order. If you wish to test the shopping process 
	you need to logoff and register with a different email address as a customer.";
}

